package cn.licoy.wdog.core.dto.hospitalUser;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author Sunne
 * Create time 2018/6/27 11:54
 * @return null
 **/
@Data
public class UpdateHouitalUserDto {
    @ApiModelProperty("医院")
    @NotNull(message = "职称不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String hospital;

    @ApiModelProperty("职称")
    @NotNull(message = "职称不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String title;
    @ApiModelProperty("科室")
    @NotNull(message = "科室不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String department;
    @ApiModelProperty("职业证号")
    @NotNull(message = "执业证号不能为空")
    private String professionalNum;
    @ApiModelProperty("身份证")
    @NotNull(message = "身份证不能为空")
    private String idcard;
    @ApiModelProperty("姓名")
    @NotNull(message = "姓名不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String name;
    @ApiModelProperty("省")
    @NotNull(message = "省不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String province;
    @ApiModelProperty("市")
    @NotNull(message = "市不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String city;
    @ApiModelProperty("区")
    @NotNull(message = "区不能为空")
    @Length(min=2, max=20, message="字符长度限制")
    private String area;

}
